<template>
    <!-- 默认 -->
    <!-- <input type="text" :value="modelValue" @input="emits('update:modelValue',(<HTMLInputElement>$event.target).value)" />
        显示：{{ modelValue }} -->
 <!-- v-modle自定义customEvent -->
    <input type="text" :value="customEvent" @input="emits('update:customEvent',(<HTMLInputElement>$event.target).value)" />
        显示：{{ customEvent }}
</template>

<script lang="ts">
export default {
name:'XiriInput'
}
</script>

<script setup lang="ts">
import { ref } from 'vue';
// const pro = defineProps(['modelValue'])
// const emits = defineEmits(['update:modelValue'])
// let data = ref(pro.modelValue)

// <!-- v-modle自定义customEvent -->
defineProps(['customEvent'])
const emits = defineEmits(['update:customEvent'])




</script>

<style lang="css">

</style>